
%p
  %label Login
  %br
  = f.text_field(:login, :class => "text_short")
 
- unless params[:action] == "edit_user"

  %p
    %label Password
    %br
    = f.password_field(:password, :class => "password")

  %p
    %label Password Again
    %br
    = f.password_field(:password_confirmation, :class => "password")

%p
  %label Name
  %br
  = f.text_field(:name, :class => "text_short")

%p
  %label Email
  %br
  = f.text_field(:email, :class => "text_short")

%p
  %label Administrator
  %br
  = f.check_box(:is_administrator, :class => "check_box")
  %br{:style => "clear: both;"}
